package org.hzy.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * TUser entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TUser implements java.io.Serializable {

	// Fields

	private Integer id;
	private String uname;
	private String upwd;
	private Set TLogs = new HashSet(0);

	// Constructors

	/** default constructor */
	public TUser() {
	}

	/** minimal constructor */
	public TUser(Integer id, String uname) {
		this.id = id;
		this.uname = uname;
	}
	public TUser(Integer id, String uname, String upwd) {
		this.id = id;
		this.uname = uname;
		this.upwd = upwd;
	}
	/** full constructor */
	public TUser(Integer id, String uname, String upwd, Set TLogs) {
		this.id = id;
		this.uname = uname;
		this.upwd = upwd;
		this.TLogs = TLogs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUname() {
		return this.uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUpwd() {
		return this.upwd;
	}

	public void setUpwd(String upwd) {
		this.upwd = upwd;
	}

	public Set getTLogs() {
		return this.TLogs;
	}

	public void setTLogs(Set TLogs) {
		this.TLogs = TLogs;
	}

}